<table border="solid 1px #ccc" cellpadding=0 cellspacing=0>
  <tr>
    <td width="124px" height="130px" valign='middle'>Image</td>
    <td valign="top">
      <table width="100%" height="100%">
        <tr>
          <td width="100px" height="30px" id="{{$t|escape:'html'}}_upload_div"></td>
        </tr>
        <tr>
          <td id="{{$t|escape:'html'}}_image_div"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td width="124px" height= "30px" valign='middle'>Knowledge Title</td>
    <td><input id="{{$t|escape:'html'}}_title_text"  style="width: 300px;"></input></td>
  </tr>
  <tr>
    <td width="124px" height= "30px" valign='middle'>Knowledge Type</td>
    <td><select id="{{$t|escape:'html'}}_type_select"  style="width: 300px;"></select></td>
  </tr>
  <tr>
    <td width="124px" height= "30px" valign='middle'>Knowledge Intro</td>
    <td><input id="{{$t|escape:'html'}}_intro_text"  style="width: 1000px;"></input></td>
  </tr>
  <tr>
    <td width="124px" valign="middle">Knowledge Detail</td>
    <td><textarea id="{{$t|escape:'html'}}_detail_content" name="{{$t|escape:'html'}}_intro_content" rows="15" cols="80" style="width: 1000px; height:500px"></textarea></td>
  </tr>
</table>
<input id="{{$t|escape:'html'}}_save" type="button" value="Save"/>
<input id="{{$t|escape:'html'}}_back" type="button" value="Back"/>

{{*/* Javascript */*}}

<script type="text/javascript" src="libs/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="libs/tiny_mce/plugins/filebrowser/editor_plugin.js"></script>
<script src="jsrequest.php?script={{$t|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      var gui = Api_Knowledge.gui('{{$t|escape:'javascript'}}');
      new Core_Knowledge(gui, JSON.parse('{{$u|escape:javascript}}'), JSON.parse('{{$d|escape:javascript}}'), JSON.parse('{{$opts|escape:javascript}}'), JSON.parse('{{$msg|escape:javascript}}'));
    }
  //-->
</script>
